package com.mec.fileTransfer.core;

/**
 * 发送端发送文件的块。
 * 指明哪个文件，从多少到多少。
 */
public class SendFileModel {
	private String filePath;
	private String absoluteRootPath;
	private long offset;
	private int length;
	
	SendFileModel() {
	}

	String getFilePath() {
		return filePath;
	}

	SendFileModel setFilePath(String filePath) {
		this.filePath = filePath;
		return this;
	}

	String getAbsoluteRootPath() {
		return absoluteRootPath;
	}

	SendFileModel setAbsoluteRootPath(String absoluteRootPath) {
		this.absoluteRootPath = absoluteRootPath;
		return this;
	}

	long getOffset() {
		return offset;
	}

	SendFileModel setOffset(long offset) {
		this.offset = offset;
		return this;
	}

	int getLength() {
		return length;
	}

	SendFileModel setLength(int length) {
		this.length = length;
		return this;
	}
	
}
